Skip to content

C++: Fix lambda_capture upgrade query join order#1818

Merged
ian-semmle merged 1 commit into
github:masterfrom
jbj:lambda_capture-upgrade-perf
Aug 24, 2019
Merged

C++: Fix lambda_capture upgrade query join order#1818
ian-semmle merged 1 commit into
github:masterfrom
jbj:lambda_capture-upgrade-perf

Conversation

@jbj

@jbj jbj commented Aug 24, 2019

Copy link
Copy Markdown
Contributor

When this query was run as an upgrade script, the optimizer picked a bad join order, making the upgrade very slow on large databases. It picked a bad join order because upgrade scripts are run with no stats.

See https://semmle.slack.com/archives/C1ECYQUMN/p1566650458091600.

When this query was run as an upgrade script, the optimizer picked a bad
join order, making the upgrade very slow on large databases. It picked a
bad join order because upgrade scripts are run with no stats.
@jbj jbj added C++ Priority PR that should be reviewed and merged as a matter of priority. labels Aug 24, 2019
@jbj jbj added this to the 1.22 milestone Aug 24, 2019
@jbj jbj requested a review from ian-semmle August 24, 2019 13:36
@jbj jbj requested a review from a team as a code owner August 24, 2019 13:36

@pavgust pavgust left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@ian-semmle ian-semmle merged commit 8d037da into github:master Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ Priority PR that should be reviewed and merged as a matter of priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants